package com.ruoyi.project.erp.attention.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 提醒对象 erp_attention
 * 
 * @author ruoyi
 * @date 2021-08-10
 */
public class ErpAttention extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long attentionId;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date attentionTime;

    /** 内容 */
    @Excel(name = "内容")
    private String attentionContent;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setAttentionId(Long attentionId)
    {
        this.attentionId = attentionId;
    }

    public Long getAttentionId()
    {
        return attentionId;
    }
    public void setAttentionTime(Date attentionTime)
    {
        this.attentionTime = attentionTime;
    }

    public Date getAttentionTime()
    {
        return attentionTime;
    }
    public void setAttentionContent(String attentionContent)
    {
        this.attentionContent = attentionContent;
    }

    public String getAttentionContent()
    {
        return attentionContent;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attentionId", getAttentionId())
            .append("attentionTime", getAttentionTime())
            .append("attentionContent", getAttentionContent())
            .append("status", getStatus())
            .append("sort", getSort())
            .toString();
    }
}
